package Menu.Controller
{
	import Menu.View.LobbySkin;
	
	import Utils.CustomEvent;
	import Utils.EventBus;
	import Utils.Vars;
	
	import spark.components.Label;
	import spark.components.SkinnableContainer;
	
	public class LobbyCtrl extends SkinnableContainer
	{
		public function LobbyCtrl()
		{
			super();
			setStyle("skinClass", LobbySkin);
		}
		
		
		public function clickHandler_startGame():void
		{
			EventBus.instance.dispatchEvent(new CustomEvent(EventBus.CHANGE_PAGE, {from:Vars.PAGE_LOBBY, to:Vars.PAGE_GAME}));
		}
	}
}